<?php
class FormcategoryAction extends IntesysAction {
	public function _initialize(){
		parent::_initialize();
		$this->dao=D('Formcategory');
	}
	public function tree(){
		if(IS_AJAX){
			$this->list=$this->dao->where(['site_id'=>__SITEID__])->select();
			$this->display();	
		}	
	}
}